package com.qijian.maindata.domain.query;

import com.baomidou.mybatisplus.annotation.TableName;
import com.qijian.common.utils.mybatis.WhereType;
import com.qijian.common.utils.mybatis.WhereTypeEnum;
import lombok.Data;

/**
 * @author qijian
 */
@Data
@TableName("main_bom_detail")
public class BomDetailInfoQuery {

    private Long bomId;

    @WhereType(fields = {"main_item.item_name", "main_item.item_code"}, type = WhereTypeEnum.LIKE)
    private String itemNameCode;

    @WhereType(tableName = "main_line_process", type = WhereTypeEnum.LIKE)
    private String processTypeName;

    @WhereType(tableName = "main_line_process_work", type = WhereTypeEnum.LIKE)
    private String factoryName;

    @WhereType(tableName = "main_line_process")
    private String processId;

    @WhereType(filed = "line_id", type = WhereTypeEnum.NOTNULL)
    private Boolean lineIdIsNotNull;

}
